{__NOLAYOUT__}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <title>跳转提示</title>
    <link rel="stylesheet" type="text/css" href="__STATIC__/js/layer/skin/default/layer.css" />
</head>
<body>
    <script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="__STATIC__/js/layer/layer.js"></script>
    <!--
    * $msg 待提示的消息
    * $url 待跳转的链接
    * $time 弹出维持时间（单位秒）
    * icon 这里主要有两个layer的表情，5和6，代表（哭和笑）
    -->
    <script type="text/javascript">
        (function(){
            var msg = '<?php echo(strip_tags($msg));?>';
            var iurl = '<?php echo($url);?>';
            var wait = '<?php echo($wait);?>';
         <?php
             switch ($code) {
                case 1:
           ?>
                  layer.msg(msg,{icon:"6",time:wait*1000});
            <?php
                   break;
                case 0:
             ?>
                layer.msg(msg,{icon:"5",time:wait*1000});
            <?php
                 break;
                }
              ?>
            setTimeout(function(){
                location.href=iurl;
            },wait*1000)
        })();
    </script>
</body>
</html>
